package co.edu.usbcali.sap.modelo.control;

import co.edu.usbcali.sap.modelo.Persona;

import java.math.BigDecimal;

import java.util.*;


/**
 * interface PersonaLogic
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IPersonaLogic {
    public List<Persona> getPersona() throws Exception;

    public void savePersona(Long perCedula, Integer perCodigo,
        String perContrasena, String perDireccion, String perEmail,
        String perNombre, Long perTelefono, Integer rolCodigo_Rol)
        throws Exception;

    public void deletePersona(Integer perCodigo) throws Exception;

    public void updatePersona(Long perCedula, Integer perCodigo,
        String perContrasena, String perDireccion, String perEmail,
        String perNombre, Long perTelefono, Integer rolCodigo_Rol)
        throws Exception;

    public Persona getPersona(Integer perCodigo) throws Exception;

    public List<Persona> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Persona> findPagePersona(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberPersona() throws Exception;
    
    public List<Persona> findPath(String event, String rol) throws Exception;
}
